package scanner;

import java.util.Scanner;

public class Demo02 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("please input: ");
        if(scan.hasNextLine()){
            String str = scan.nextLine();
            System.out.println(str);
        }
        scan.close();
    }
}
